createDialog "BuyDialog";


weaponsArray = [
["AK-74","AK_74",60,"30Rnd_545x39_AK",20],
["AK-107 Kobra","AK_107_kobra",80,"30Rnd_545x39_AK",20],
["AKM","AK_47_M",80,"30Rnd_762x39_AK47",25],
["FN FAL","FN_FAL",100,"20Rnd_762x51_FNFAL",20],
["SA-58V Acog", "Sa58V_RCO_EP1",150,"30Rnd_762x39_SA58",25],
["M4A3 CCO Flashlight","M4A3_CCO_EP1",200,"30Rnd_556x45_Stanag",20],
["M14","M14_EP1",100,"20Rnd_762x51_DMR",30],
["Saiga","Saiga12K",50,"8Rnd_B_Saiga12_Pellets",15],
["Mark 12 SPR","M4SPR",250,"20Rnd_556x45_Stanag",15],
["M40A3","M40A3",200,"5Rnd_762x51_M24",20],
["M110 NV","M110_NVG_EP1",1000,"20Rnd_762x51_B_SCAR",100],
["FN FAL Nightvision","FN_FAL_ANPVS4",200,"20Rnd_762x51_FNFAL",20],
["M32 Flare Launcher","M32_EP1",400,"6Rnd_HE_M203",100],
["MP5 SD","MP5SD",50,"30Rnd_9x19_MP5SD",10],
["Lee Enfield","LeeEnfield",50,"10x_303",10],
["L110A1 LMG","BAF_L110A1_Aim",500,"200Rnd_556x45_L110A1",100],
["L85A2 AWS","BAF_L85A2_RIS_CWS",500,"30Rnd_556x45_Stanag",20],
["Javelin","Javelin",1500,"Javelin",350],
//[".45 Revolver Gold","revolver_gold_EP1",15,"6Rnd_45ACP",1],
["M9 SD","M9SD",25,"15Rnd_9x19_M9SD",10],
["Mini Uzi SD","UZI_SD_EP1",50,"30Rnd_9x19_UZI_SD",20],
["Colt 1911","Colt1911",40,"7Rnd_45ACP_1911",10],
["Glock 17 Flashlight","glock17_EP1",20,"17Rnd_9x19_glock17",10],
["NV Goggles","NVGoggles",50]
];

{
_weapon = _x select 1;
_display_name = _x select 0;
_text = _display_name + format [" - %1",_x select 2];
_index = lbAdd [1500, _text];
} forEach weaponsArray;
